const line = readline();

function main(num){
    // return Math.round(num);
    return parseInt(num+0.5);
}

console.log(main(Number(line)))